-- GENERATED SPELL FOR [Lost One Hunter] --


function spell0_759(pUnit, Event) --@Poisoned Shot,n/a--
pUnit:FullCastSpellOnTarget(8806,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_759', 2000, 1)
end

function spell1_759(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_759', 648, 1)
end

function Sorts_759(pUnit, Event)
local choix_sorts_759 = math.random(0, 1)
if choix_sorts_759 == 0 then
pUnit:RegisterEvent('spell0_759', 1, 1)
end
if choix_sorts_759 == 1 then
pUnit:RegisterEvent('spell1_759', 1, 1)
end
end

function mob759_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_759', math.random(1500, 3000), 1)
end

function mob759_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob759_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob759_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(759, 1, 'mob759_Action')
RegisterUnitEvent(759, 2, 'mob759_Leave')
RegisterUnitEvent(759, 3, 'mob759_Kill')
RegisterUnitEvent(759, 4, 'mob759_Die')
